package com.example.design01.Service;

import com.example.design01.Bean.AdminBean;
import com.example.design01.Dao.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService{

    @Autowired
    private AdminMapper adminMapper;



    @Override
    public AdminBean checkUser(String username, String password) {
        return adminMapper.checkUser(username, password);
    }
}
